﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAplicaciones1
{
    public abstract class Componente : OPersistente
    {
        public double precio;
        public abstract double calcularCosto();
        public abstract string devolverNombreItem();
        public double Precio
        {
            get { return precio; }
            set { precio = value; }
        }

    }
}
